//
//  Enums.h
//  OCBase
//
//  Created by 侯伟 on 2019/8/23.
//  Copyright © 2019 侯伟. All rights reserved.
//

#ifndef Enums_h
#define Enums_h


/**
 运行环境
 */
typedef NS_ENUM(NSUInteger, Environment){
    
    Environment_Dev = 0,        //开发
    
    Environment_Pro = 3,        //生产
};



/**
 视频分类
 */
typedef NS_ENUM(NSUInteger, VideoType){
    
    VideoType_Hot = 0,          //热门
    
    VideoType_Movie = 1,        //电影
    
    VideoType_TV = 2,           //电视剧
    
    VideoType_Variety = 3,      //综艺
    
    VideoType_Anime = 4,        //动漫
    
    VideoType_KorTV = 11,            //韩剧
    
    VideoType_USTV = 12,             //美剧
    
    VideoType_JapTV = 16,            //日剧
};


typedef NS_ENUM(NSUInteger, RefreshType) {
    Refresh = 0,
    LoadMore = 1,
};
/**
 时间
 */
typedef NS_ENUM(NSUInteger, TimeRange){
    
    TimeRange_Today = 1,        //今天
    
    TimeRange_Week = 2,         //本周
    
    TimeRange_Month = 3,        //本月
};


/**
 搜索类型
 */
typedef NS_ENUM(NSUInteger, SearchType){
    
    SearchType_Video = 1,     //视频
    
    SearchType_Performer = 2, //演员
};


/**
编辑操作
*/
typedef NS_ENUM(NSInteger,EditOperation){
    
    EditOperation_Add = 0,//添加
    
    EditOperation_Edit = 1,//编辑
    
    EditOperation_Delete = 2,//删除
};


/**
 动态类型
 */
typedef NS_ENUM(NSInteger, XDynamicType){
    
    XDynamicTypeRecord = 1,
    
    XDynamicTypeBookKeeping = 2,
};


/**
 收支类型
 */
typedef NS_ENUM(NSInteger, XFeeType){
    
    XFeeTypeXZ = 101,//薪资
    
    XFeeTypeHB = 102,//红包
    
    XFeeTypeJJ = 103,//奖金
    
    XFeeTypeBX = 104,//报销

    XFeeTypeLC = 105,//股票

    XFeeTypeTK = 106,//退款
    
    XFeeTypeJZ = 107,//兼职
    
    XFeeTypeTZ = 108,//投资
    
    XFeeTypeGC = 109,//稿酬
    
    XFeeTypeQT1 = 110,//其他
    
    XFeeTypeCY = 201,//餐饮
    
    XFeeTypeGW = 202,//购物
    
    XFeeTypeFD = 203,//房贷
    
    XFeeTypeHZ = 204,//孩子
    
    XFeeTypeRY = 205,//日用
    
    XFeeTypeSD = 206,//水电
    
    XFeeTypeXX = 207,//学习
    
    XFeeTypeYY = 208,//医疗
    
    XFeeTypeSM = 209,//数码
    
    XFeeTypeCW = 210,//宠物
    
    XFeeTypeTX = 211,//通讯
    
    XFeeTypeJT = 212,//交通
    
    XFeeTypeGY = 213,//公益
    
    XFeeTypeKD = 214,//快递
    
    XFeeTypeSJ = 215,//社交
    
    XFeeTypeYL = 216,//娱乐
    
    XFeeTypeQT2 = 217,//其他
};

//布尔类型回调
typedef void(^VoidBlock)(void);

//布尔类型回调
typedef void(^BoolBlock)(BOOL Bool);

//int类型回调
typedef void(^IntegerBlock)(NSInteger integer);

//字符串类型回调
typedef void(^StringBlock)(NSString* _Nullable string);

//类型回调
typedef void(^ObjBlock)(id _Nullable obj);

//数组回调
typedef void(^ArrayBlock)(NSArray* _Nullable objs);

//对象编辑回调
typedef void(^EditBlock)(id _Nullable obj,EditOperation operation);

#endif /* Enums_h */
